﻿using BoriPeter.FatSecret.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BoriPeter.FatSecret.Messages
{
    /// <summary>
    /// Returns the summary estimated daily calories expended for a user's exercise 
    /// diary entries for the month specified. Use this call to display total energy 
    /// expenditure information to users about their exercise and activities for a nominated month.
    /// </summary>
    public class ExcerciseEntriesGetMonth : FatSecretMessageBase<ExcerciseEntriesGetMonthModel>
    {
        private const string METHOD_VALUE = "exercise_entries.get_month";
        private const string DATE = "date";

        public ExcerciseEntriesGetMonth(DateTime _dayOfMonth)
        {
            AddRequestParameter(METHOD, METHOD_VALUE);
            AddRequestParameter(DATE, _dayOfMonth);
        }

        public ExcerciseEntriesGetMonth()
        {
            AddRequestParameter(METHOD, METHOD_VALUE);
        }
    }
}
